home *** CD-ROM | disk | FTP | other *** search
- package Local.External
- {
- import flash.net.LocalConnection;
- import flash.net.URLRequest;
- import flash.net.navigateToURL;
-
- public class CURL
- {
-
- public static function GamesWebsite():*
- {
- Navigate("http://www.games.seantcooper.com/?ref=SHZ_BO");
- CMochiBot.SHZ_BO_GAMESWEBSITE_VISIT();
- }
- public static function MochiBot():*
- {
- Navigate("http://www.mochibot.com/");
- if(true)
- {
- CMochiBot.SHZ_BO_MOCHIBOTVISIT();
- }
- }
- public static function SponsorSelectLevel():*
- {
- Navigate("http://www.crazymonkeygames.com/" + RefTag());
- CMochiBot.SHZ_BO_SPONSORVISIT_LEVELSELECTION();
- }
- public static var mDomainList:Object;
-
- public static function GameGuide():*
- {
- Navigate("http://www.crazymonkeygames.com/shadez/" + RefTag());
- CMochiBot.SHZ_BO_GAMEGUIDE_VISIT();
- }
- public static function Trailer():*
- {
- Navigate("http://www.crazymonkeygames.com/shadez/trailer.php" + RefTag());
- if(true)
- {
- CMochiBot.SHZ_BO_TRAILER_VISIT();
- }
- }
- public static function ShadezWebsite():*
- {
- Navigate("http://www.shadez.seantcooper.com/?ref=SHZ_BO");
- CMochiBot.SHZ_BO_SHADEZWEBSITE_VISIT();
- }
- public static function SponsorMain():*
- {
- Navigate("http://www.crazymonkeygames.com/" + RefTag());
- if(true)
- {
- CMochiBot.SHZ_BO_SPONSORVISIT_MAIN();
- }
- }
- public static function Encryption():*
- {
- Navigate("http://www.kindisoft.com/secureSWF/");
- if(true)
- {
- CMochiBot.SHZ_BO_ENCRYPTIONVISIT();
- }
- }
- public static function ViewHiscore(param1:String):*
- {
- Navigate("http://scores.crazymonkeygames.com/hs/listscores.php?id=" + param1);
- if(true)
- {
- CMochiBot.SHZ_BO_HISCOREVIEWS();
- }
- }
- public static function Sponsor():*
- {
- Navigate("http://www.crazymonkeygames.com/" + RefTag());
- CMochiBot.SHZ_BO_SPONSORVISIT_TOTAL();
- }
- public static function SponsorDebrief():*
- {
- Navigate("http://www.crazymonkeygames.com/" + RefTag());
- CMochiBot.SHZ_BO_SPONSORVISIT_DEBRIEF();
- }
-
- public function CURL()
- {
- if(true)
- {
- super();
- mDomainList = new Object();
- }
- }
-
- public static function isKONGREGATE() : Boolean
- {
- return isDOMAIN("kongregate.com");
- }
-
- private static function Navigate(param1:String) : void
- {
- navigateToURL(new URLRequest(param1),"_BLANK");
- }
-
- public static function GetDomain() : String
- {
- return new LocalConnection().domain.toLowerCase();
- }
-
- public static function RefTag() : String
- {
- if(true)
- {
- return isCMG() ? "" : "?gameref=shadez";
- }
- §§goto(addr14);
- }
-
- public static function isDOMAIN(param1:String) : Boolean
- {
- if(true)
- {
- var _loc2_:*;
- param1 = _loc2_ = param1.toLowerCase();
- if(!mDomainList.hasOwnProperty(_loc2_))
- {
- mDomainList[param1] = new LocalConnection().domain.toLowerCase().indexOf(param1) >= 0;
- }
- }
- return mDomainList[param1];
- }
-
- public static function isCMG() : Boolean
- {
- return isDOMAIN("crazymonkeygames.com");
- }
- }
- }
-